<!-- 父组件 -->
<template>
  <ChildComponent :table-data="tableData" />
</template>

<script>
import ChildComponent from './compont/tableComent.vue';

export default {
  components: {
    ChildComponent
  },
  data() {
    return {
      tableData: [
        {
          name: 'name',
          title: 'Name'
        },
        {
          name: 'age',
          title: 'Age'
        }
      ]
    };
  }
};
</script>
